<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<form id="pagerForm" method="post" action="Admin/CollegeAction!ShowAllCollege">
	<input type="hidden" name="pageNum" value="${page.currentPage}" />
	<input type="hidden" name="numPerPage" value="${page.numPerPage}" />
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
	<div class="searchBar">
		<table class="searchContent" style="margin-left: 10px">
			<tr>
				<td>
					
				</td>				
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="jsp/Admin/AddDepartment.jsp" target="dialog" mask="true" width="500" height="380"><span>添加</span></a></li>
			<li><a class="delete" href="Admin/CollegeAction!deleteCollege?collegeid={id}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="Admin/CollegeAction!findCollege?collegeid={id}" target="dialog" mask="true" width="500" height="180"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				
				<th >序号</th>
				<th >部门名</th>
				<th >负责人</th>
				<th >联系电话</th>
				<th >办公地址</th>
				<th >隶属院系</th>
				<th >登录名</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="page.list"  var="d" status="st">
			<tr target="id" rel="${d.id }">
				<td>${st.index+1}</td>
				<td>${d.name }</td>
				<td>${d.contactman }</td>
				<td>${d.phone }</td>
				<td>${d.address }</td>
				<td>${d.college.name }</td>
				<td>${d.username }</td>
			</tr>
			</s:iterator>	
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="0">请选择</option>
				<option value="5">5</option>
				<option value="10">10</option>
				<option value="15">15</option>
				<option value="200">200</option>
			</select>
			<span>条，共${page.totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="${page.totalCount}" numPerPage="${page.numPerPage}" pageNumShown="10" currentPage="${page.currentPage}"></div>

	</div>
</div>